package org.hang.gift.clients.fallback;


import org.hang.gift.clients.AuthClient;
import org.hang.gift.domain.LoginUser;
import org.hang.util.AjaxResult;
import org.springframework.stereotype.Component;

@Component
public class AuthClientFallback implements AuthClient {


    @Override
    public AjaxResult addOrUpdate(LoginUser loginUser) {
        return AjaxResult.me().setSuccess(false).setMessage("网络异常，请刷新重试");
    }
}
